<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>输出server属性的元素信息</title>
</head>
<body>
	<?php 
		echo "<table border='1'>";
		echo "<tr>";
			echo "<td>REMOTE_ADDR</td>";
			echo "<td>SERVER_NAME</td>";
			echo "<td>PHP_SELF</td>";
			echo "<td>QUERY_STRING</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>\$_SERVER['REMOTE_ADDR']</td>";
			echo "<td>\$_SERVER['SERVER_NAME']</td>";
			echo "<td>\$_SERVER['PHP_SELF']</td>";
			echo "<td>\$_SERVER['QUERY_STRING']</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>".$_SERVER['REMOTE_ADDR']."</td>";
			echo "<td>".$_SERVER['SERVER_NAME']."</td>";
			echo "<td>".$_SERVER['PHP_SELF']."</td>";
			echo "<td>".$_SERVER['QUERY_STRING']."</td>";
		echo "</tr>";
		echo "<tr>";
			echo "<td>代表获取访问者IP地址</td>";
			echo "<td>获取服务器的名字</td>";
			echo "<td>获取当前网页地址</td>";
			echo "<td>获取当前网页中所有的get数据</td>";
		echo "</tr>";
		echo "</table>";
	 ?>
</body>
</html>